/*
 * @Author: Shane
 * @Date: 2022-08-01 15:07:50
 * @LastEditTime: 2022-08-01 15:20:50
 * @LastEditors: Shane
 * @Description: 
 * @FilePath: /app-framework/common_widgets/lib/textfield/base_textfield.dart
 */

import 'package:flutter/material.dart';

class KKTextFieldBase extends TextField {
  TextEditingController? editingController;
  FocusNode? focus;
  double cursorWidth;

  KKTextFieldBase({
    this.editingController,
    this.focus,
    this.cursorWidth = 2.0,
  }) : super(
          controller: editingController,
          focusNode: focus,
        );
}
// TextField(
//                           controller: _editingController,
//                           focusNode: _focusNode,
//                           cursorWidth: 2.0,
//                           keyboardType: TextInputType.phone,
//                           cursorColor: const Color(0xFFC20014),
//                           cursorRadius: const Radius.circular(1),
//                           style: const TextStyle(
//                             fontSize: 18,
//                             color: Color(0xff24272B),
//                           ),
//                           onChanged: (s) {
//                             print(s);
//                           },
//                           inputFormatters: [
//                             LengthLimitingTextInputFormatter(11)
//                           ],
//                           decoration: const InputDecoration(
//                             border: InputBorder.none,
//                             hintText: "请输入新的手机号码",
//                             hintStyle: TextStyle(
//                               color: Color(0xFFC0C4CC),
//                               fontSize: 16,
//                             ),
//                           ),
//                         )